home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Graphics Plus
/
Graphics Plus.iso
/
general
/
modelers
/
geomview
/
source.lha
/
Geomview
/
src
/
bin
/
crayola
/
common
/
crayolaP.h
< prev
next >
Wrap
C/C++ Source or Header
|
1992-11-30
|
807b
|
31 lines
#ifndef CRAYOLAP_H
#define CRAYOLAP_H
#include "crayola.h"
#define CRAYOLA_MAXNAME 128
/*
* WARNING: The order of the names of the routines is hardcoded
* into the functions themselves.
*/
#define CRAYOLA_MAXMETH 15
#define CRAYOLA_METHNAMES "crayHasColor", "crayHasVColor", "crayHasFColor", \
"crayCanUseVColor", "crayCanUseFColor", \
"crayUseVColor", "crayUseFColor", "crayEliminateColor", \
"craySetColorAll", \
"craySetColorAt", "craySetColorAtV", "craySetColorAtF", \
"crayGetColorAt", "crayGetColorAtV", "crayGetColorAtF"
typedef struct {
char name[CRAYOLA_MAXNAME];
GeomExtFunc *func;
} craySpecFunc;
void crayInitSpec(craySpecFunc *specfunc, int n_func, GeomClass *class);
void *crayTrue(int sel, Geom *geom, va_list args);
void *crayFalse(int sel, Geom *geom, va_list args);
#endif